package com.maket.jbxx.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 计量单位对象 jldw_measurement_unit
 * 
 * @author ruoyi
 * @date 2024-06-24
 */
public class JldwMeasurementUnit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 单位编码 */
    private String dwCode;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String dwName;

    /** 单位类型编码 */
    @Excel(name = "单位类型编码")
    private String dwTypecode;

    /** 单位简写 */
    @Excel(name = "单位简写")
    private String dwEasy;

    /** 换算单位 */
    @Excel(name = "换算单位")
    private String dwChange;

    /** 换算比例 */
    @Excel(name = "换算比例")
    private String changeMany;

    /** 换算比例 */
    private String changeManyTwo;

    /** 创建人 */
    @Excel(name = "创建人")
    private String dwCreate;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dwCreatetime;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dwUpdatetime;

    public void setDwCode(String dwCode) 
    {
        this.dwCode = dwCode;
    }

    public String getDwCode() 
    {
        return dwCode;
    }
    public void setDwName(String dwName) 
    {
        this.dwName = dwName;
    }

    public String getDwName() 
    {
        return dwName;
    }
    public void setDwTypecode(String dwTypecode) 
    {
        this.dwTypecode = dwTypecode;
    }

    public String getDwTypecode() 
    {
        return dwTypecode;
    }
    public void setDwEasy(String dwEasy) 
    {
        this.dwEasy = dwEasy;
    }

    public String getDwEasy() 
    {
        return dwEasy;
    }
    public void setDwChange(String dwChange) 
    {
        this.dwChange = dwChange;
    }

    public String getDwChange() 
    {
        return dwChange;
    }
    public void setChangeMany(String changeMany) 
    {
        this.changeMany = changeMany;
    }

    public String getChangeMany() 
    {
        return changeMany;
    }
    public void setDwCreate(String dwCreate) 
    {
        this.dwCreate = dwCreate;
    }

    public String getDwCreate() 
    {
        return dwCreate;
    }
    public void setDwCreatetime(Date dwCreatetime) 
    {
        this.dwCreatetime = dwCreatetime;
    }

    public Date getDwCreatetime() 
    {
        return dwCreatetime;
    }
    public void setDwUpdatetime(Date dwUpdatetime) 
    {
        this.dwUpdatetime = dwUpdatetime;
    }

    public Date getDwUpdatetime() 
    {
        return dwUpdatetime;
    }

    public String getChangeManyTwo() {
        return changeManyTwo;
    }

    public void setChangeManyTwo(String changeManyTwo) {
        this.changeManyTwo = changeManyTwo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dwCode", getDwCode())
            .append("dwName", getDwName())
            .append("dwTypecode", getDwTypecode())
            .append("dwEasy", getDwEasy())
            .append("dwChange", getDwChange())
            .append("changeMany", getChangeMany())
            .append("dwCreate", getDwCreate())
            .append("dwCreatetime", getDwCreatetime())
            .append("dwUpdatetime", getDwUpdatetime())
            .append("changeManyTwo",getChangeManyTwo())
            .toString();
    }
}
